﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace UFIDA.U9.Cust.U9Demo.DeliveryBP
{
	/// <summary>
	/// 送货单DTO DTO :自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Name = "UFIDA.U9.Cust.U9Demo.DeliveryBP.ResultDTOData", Namespace = "http://www.UFIDA.org/EntityData",IsReference=true)]
	[Serializable]
	[KnownType("GetKnownTypes")]
	public partial class ResultDTOData : UFSoft.UBF.Business.DataTransObjectBase
	{
		public static IList<Type> GetKnownTypes()
        {
            IList<Type> knownTypes = new List<Type>();
                                                                                                                                                                         
            knownTypes.Add(typeof(UFSoft.UBF.Util.Data.MultiLangDataDict));
            return knownTypes;
        }
		/// <summary>
		/// Default Constructor
		/// </summary>
		public ResultDTOData()
		{
			initData();
		}
		private void initData()
		{
		
					Supplier= 0; 
				
		
					DocLineNo= 0; 
							DocSubLine= 0; 
							POShipLine= 0; 
							Qty=0m; 
					Price=0m; 
		
					Item= 0; 
				
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
        internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
        {
			 initData();
        }
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        	        	        	        	        	        	        	        	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public ResultDTOData(  System.String docNo  , System.Int64 supplier  , System.String supplier_Code  , System.String supplier_Name  , System.Int32 docLineNo  , System.Int32 docSubLine  , System.Int64 pOShipLine  , System.Decimal qty  , System.Decimal price  , System.DateTime date  , System.Int64 item  , System.String item_Code  , System.String item_Name  )
		{
			initData();
			this.DocNo = docNo;
			this.Supplier = supplier;
			this.Supplier_Code = supplier_Code;
			this.Supplier_Name = supplier_Name;
			this.DocLineNo = docLineNo;
			this.DocSubLine = docSubLine;
			this.POShipLine = pOShipLine;
			this.Qty = qty;
			this.Price = price;
			this.Date = date;
			this.Item = item;
			this.Item_Code = item_Code;
			this.Item_Name = item_Name;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 单号
		/// 送货单DTO.Misc.单号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_docNo ;
		public System.String DocNo
		{
			get	
			{	
				return m_docNo ;
			}
			set	
			{	
				m_docNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 供应商
		/// 送货单DTO.Misc.供应商
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int64 m_supplier ;
		public System.Int64 Supplier
		{
			get	
			{	
				return m_supplier ;
			}
			set	
			{	
				m_supplier = value ;	
			}
		}
			
		

		/// <summary>
		/// 供应商编码
		/// 送货单DTO.Misc.供应商编码
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_supplier_Code ;
		public System.String Supplier_Code
		{
			get	
			{	
				return m_supplier_Code ;
			}
			set	
			{	
				m_supplier_Code = value ;	
			}
		}
			
		

		/// <summary>
		/// 供应商
		/// 送货单DTO.Misc.供应商
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_supplier_Name ;
		public System.String Supplier_Name
		{
			get	
			{	
				return m_supplier_Name ;
			}
			set	
			{	
				m_supplier_Name = value ;	
			}
		}
			
		

		/// <summary>
		/// 行号
		/// 送货单DTO.Misc.行号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int32 m_docLineNo ;
		public System.Int32 DocLineNo
		{
			get	
			{	
				return m_docLineNo ;
			}
			set	
			{	
				m_docLineNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 子行号
		/// 送货单DTO.Misc.子行号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int32 m_docSubLine ;
		public System.Int32 DocSubLine
		{
			get	
			{	
				return m_docSubLine ;
			}
			set	
			{	
				m_docSubLine = value ;	
			}
		}
			
		

		/// <summary>
		/// 采购计划行ID
		/// 送货单DTO.Misc.采购计划行ID
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int64 m_pOShipLine ;
		public System.Int64 POShipLine
		{
			get	
			{	
				return m_pOShipLine ;
			}
			set	
			{	
				m_pOShipLine = value ;	
			}
		}
			
		

		/// <summary>
		/// 数量
		/// 送货单DTO.Misc.数量
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_qty ;
		public System.Decimal Qty
		{
			get	
			{	
				return m_qty ;
			}
			set	
			{	
				m_qty = value ;	
			}
		}
			
		

		/// <summary>
		/// 单价
		/// 送货单DTO.Misc.单价
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_price ;
		public System.Decimal Price
		{
			get	
			{	
				return m_price ;
			}
			set	
			{	
				m_price = value ;	
			}
		}
			
		

		/// <summary>
		/// 日期
		/// 送货单DTO.Misc.日期
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.DateTime m_date ;
		public System.DateTime Date
		{
			get	
			{	
				return m_date ;
			}
			set	
			{	
				m_date = value ;	
			}
		}
			
		

		/// <summary>
		/// 料品
		/// 送货单DTO.Misc.料品
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int64 m_item ;
		public System.Int64 Item
		{
			get	
			{	
				return m_item ;
			}
			set	
			{	
				m_item = value ;	
			}
		}
			
		

		/// <summary>
		/// 料号
		/// 送货单DTO.Misc.料号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_item_Code ;
		public System.String Item_Code
		{
			get	
			{	
				return m_item_Code ;
			}
			set	
			{	
				m_item_Code = value ;	
			}
		}
			
		

		/// <summary>
		/// 品名
		/// 送货单DTO.Misc.品名
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_item_Name ;
		public System.String Item_Name
		{
			get	
			{	
				return m_item_Name ;
			}
			set	
			{	
				m_item_Name = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																										
		#endregion 
	} 	
}

	
